package com.xquant.pricing.pricingConfig.mapper;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author ershuai.zhao
 */
@Repository
public interface CalendarMapper {
    /**
     * getBussinessDate
     * @param params
     * @return
     */
    String getBussinessDate(Map<String, Object> params);

    List<Map<String, Object>> getCalendarList(Map<String, Object> params);

    List<Map<String, Object>> getCalendarByPage(Map<String, Object> params);

    List<Map<String, Object>> QueryCalendar(Map<String, Object> params);

    Map<String, Object> getTerminationPaymentDate(Map<String, Object> params);
    Map<String, Object> getFixDate(Map<String, Object> params);
    Map<String, Object> getOffset(Map<String, Object> params);

    void updateCalendar(Map map);

}
